<template>
	<view class="detail">
		{{id}}
		<view class="detail__title">{{dataList.title}}</view>
		<view class="detail__date">{{dataList.virtual_at}}</view>
		<u-parse class="full-image" :html="this.dataList.content"></u-parse>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				dataList: []
			};
		},
		onLoad(options) {
			this.$api.get("/addons/yun_shop/api.php?route=plugin.article.api.article.get-article&article_id=" + options.id).then(res => {
				this.dataList = res.data
			})
			
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	@import './notice-list.scss';
</style>
